/****** Object:  Stored Procedure [dbo].spuserSelectAllByRoleID Script Date: 11/24/2012 ******/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[spuserSelectAllByRoleID]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[spuserSelectAllByRoleID]
GO

/******************************************************************************
**		Name: [dbo].spuserSelectAllByRoleID
**		Desc:
**
**		Return values:
**
**		Called by:
**
**		Parameters:
**		Input						Output
**		----------					----------
**
**		Auth: MinhSong
**		Date: 11/24/2012
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:					Description:
**		--------	--------				-----------------------------------
**
*******************************************************************************/

CREATE PROCEDURE [dbo].[spuserSelectAllByRoleID]
(
	@RoleID int
)
WITH ENCRYPTION

AS

SET NOCOUNT ON

SELECT 
	*
FROM [tbl_user]
WHERE [RoleID] = @RoleID
GO

--GRANT EXECUTE ON [dbo].[spuserSelectAllByRoleID] TO [sa]
--GO
